package pl.prv.polanie.client.dto;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * DTO uzywane tylko do testow.
 * @author Janusz Prokulewicz
 * Created: Mar 13, 2008
 */

public class LecturerPreferencesDTO implements IsSerializable {
	
	private Long id = null;
	private String preferenceType = null;
	private String lecturer = null;

	private Integer startTime;
    private Integer duration;

	
	private Long dayId = null;
	
	public LecturerPreferencesDTO() {
	}

	public LecturerPreferencesDTO(int id, int dayId, int startTime) {
		this.id = new Long(id);
		this.preferenceType = "preferenceType " + id;
		this.lecturer = "lecturer " + id;
		this.dayId = new Long(dayId);
		this.startTime = new Integer(startTime);
		this.duration = new Integer(0);
	}
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getLecturer() {
		return lecturer;
	}

	public void setLecturer(String lecturer) {
		this.lecturer = lecturer;
	}

	public Long getDayId() {
		return dayId;
	}

	public void setDayId(Long dayId) {
		this.dayId = dayId;
	}

	public String getPreferenceType() {
		return preferenceType;
	}

	public void setPreferenceType(String preferenceType) {
		this.preferenceType = preferenceType;
	}

	public Integer getStartTime() {
		return startTime;
	}

	public void setStartTime(Integer startTime) {
		this.startTime = startTime;
	}

	public Integer getDuration() {
		return duration;
	}

	public void setDuration(Integer duration) {
		this.duration = duration;
	}

}
